package com.chengzhi.state;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author ruanchengzhi
 * @description: TODO
 * @date 2019/7/23 16:51
 */
public interface OrderService {
    Order creat();
    Order pay(int id);
    Order deliver(int id);
    Order receive(int id);
    ConcurrentHashMap<Integer, Order> getOrders();
}
